<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<title>注册</title>

<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- MetisMenu CSS -->
<link href="css/metisMenu.min.css" rel="stylesheet">

<!-- Custom CSS -->
<link href="css/sb-admin-2.css" rel="stylesheet">

<!-- Custom Fonts -->
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

	<div class="container">
		<div class="row">
			<div class="col-md-4 col-md-offset-4">
				<div class="login-panel panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">注册表单</h3>
					</div>
					<div class="panel-body">
						<form action="saveRegister" method="post">
						<font color="red">
							带星号的为必填项！
						</font>
							<fieldset>
								<%
									Object errName = request.getAttribute("errName");
								%>
								<font color="red"> ${errName} </font>
								<div class="form-group">
									*<input class="form-control" placeholder="名字：请使用字母、数字、下划线" name="username"
										type="text" autofocus>
								</div>
								<div class="form-group">
									*<input class="form-control" placeholder="密码" name="password"
										type="password" value="">
								</div>
								<div class="form-group">
									*<input class="form-control" placeholder="确认密码"
										name="aginpassword" type="password" autofocus>
								</div>
								<%
									Object errPhone = request.getAttribute("errPhone");
								%>
								<font color="red"> ${errPhone} </font>
								<div class="form-group">
									*<input class="form-control" placeholder="电话" name="phone"
										type="text" autofocus>
								</div>

								<%
									Object errEmail = request.getAttribute("errEmail");
								%>
								<font color="red"> ${errEmail} </font>
								<div class="form-group">
									*<input class="form-control" placeholder="邮箱" name="email"
										type="text" autofocus>
								</div>
								<input type="submit" value="注册">
							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>

	<!-- jQuery -->
	<script src="../vendor/jquery/jquery.min.js"></script>

	<!-- Bootstrap Core JavaScript -->
	<script src="../vendor/bootstrap/js/bootstrap.min.js"></script>

	<!-- Metis Menu Plugin JavaScript -->
	<script src="../vendor/metisMenu/metisMenu.min.js"></script>

	<!-- Custom Theme JavaScript -->
	<script src="../dist/js/sb-admin-2.js"></script>

</body>

</html>
